package com.lebang.feign.fallback;

import com.lebang.feign.SmallAmountWithdrawalFeign;
import com.lebang.model.RequestUserInfo;
import com.lebangweb.response.JsonData;
import org.springframework.stereotype.Component;

import static com.lebang.feign.draw.CommonFallBack.FAIL_JSON;

@Component
public class SmallAmountWithdrawalFallback implements SmallAmountWithdrawalFeign {

    @Override
    public JsonData isExists(RequestUserInfo userInfo, String wxOpenId) {
        return FAIL_JSON;
    }

    @Override
    public JsonData addrecord(RequestUserInfo userInfo, String wxOpenId) {
        return FAIL_JSON;
    }

    @Override
    public JsonData getConfig(RequestUserInfo userInfo, String wxOpenId) {
        return FAIL_JSON;
    }

    @Override
    public JsonData pull(RequestUserInfo userInfo, Integer configId, String wxOpenId, String phone, String wxName, String ipAddr) {
        return FAIL_JSON;
    }

    @Override
    public JsonData update(RequestUserInfo userInfo, String wxOpenId, String phone, Integer configId) {
        return FAIL_JSON;
    }

    @Override
    public JsonData isPull(RequestUserInfo userInfo, String wxOpenid) {
        return FAIL_JSON;
    }

    @Override
    public JsonData amount(RequestUserInfo userInfo, Integer configId, String wxOpenId, String phone) {
        return FAIL_JSON;
    }
}
